package lt.marsrutai.mobile.android.activity.intent;

import lt.marsrutai.mobile.android.activity.StopMapActivity;
import android.app.Activity;
import android.content.Intent;

public class StopMapIntentHolder extends IntentHolder {

    private static final String SCOPE_FOLDER = "scopeFolder";
    private static final String TRACK_ID = "trackId";
    private static final String STOP_ID = "stopId";

    public StopMapIntentHolder(Activity sourceActivity) {
        super(sourceActivity, StopMapActivity.class);
    }

    public StopMapIntentHolder(Intent intent) {
        super(intent);
    }

    public void setScopeFolder(String scopeFolder) {
        intent.putExtra(SCOPE_FOLDER, scopeFolder);
    }

    public String getScopeFolder() {
        return intent.getStringExtra(SCOPE_FOLDER);
    }

    public void setTrackId(String trackId) {
        intent.putExtra(TRACK_ID, trackId);
    }

    public String getTrackId() {
        return intent.getStringExtra(TRACK_ID);
    }

    public void setStopId(String stopId) {
        intent.putExtra(STOP_ID, stopId);
    }

    public String getStopId() {
        return intent.getStringExtra(STOP_ID);
    }

}
